-
Home
-
Moloni
-
5.0.03 (latest)
-
Code
-
Classes
- CreateCreditNote
| Total Complexity |
95 |
| Dependencies |
14 |
| Dependents |
1 |
| Total lines |
651 |
| Lines of code |
403 |
| Logical lines of code |
196 |
| Comment lines |
82 |
| Methods |
22 |
| Properties |
10 |
Methods 22
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| closeDocument() |
A |
40 |
13 |
58 |
| setProducts() |
A |
41 |
11 |
60 |
| run() |
A |
41 |
11 |
59 |
| setFees() |
A |
41 |
11 |
56 |
| setShipping() |
A |
47 |
7 |
37 |
| tryToMatchProduct() |
S |
54 |
6 |
21 |
| validateDocument() |
S |
60 |
6 |
12 |
| setBasics() |
S |
53 |
4 |
23 |
| tryToMatchFee() |
S |
64 |
4 |
9 |
| shouldSendByEmail() |
S |
69 |
4 |
6 |
| tryToMatchShipping() |
S |
65 |
3 |
9 |
| getOrderID() |
S |
72 |
2 |
6 |
| getOrderNumber() |
S |
72 |
2 |
6 |
| validateUnrelatedProducts() |
S |
74 |
2 |
5 |
| shouldCloseDocument() |
S |
78 |
2 |
3 |
| __construct() |
S |
72 |
1 |
5 |
| saveLog() |
S |
63 |
1 |
10 |
| setStopProcess() |
S |
81 |
1 |
3 |
| getOrder() |
S |
80 |
1 |
3 |
| getRefund() |
S |
80 |
1 |
3 |
| getResults() |
S |
82 |
1 |
3 |
| saveRecord() |
S |
70 |
1 |
6 |